package com.sc.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

@TableName("yt_type")
public class Type {
    @TableId("type_id")
    private Long typeId;
    private String typeName;
    private String typeAlias;
    private Long typeParentId;
    private Date createTime;
    private Date updateTime;
    private Integer typePriority;

    @Override
    public String toString() {
        return "Type{" +
                "typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", typeAlias='" + typeAlias + '\'' +
                ", typeParentId=" + typeParentId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", typePriority=" + typePriority +
                '}';
    }

    public Integer getTypePriority() {
        return typePriority;
    }

    public void setTypePriority(Integer typePriority) {
        this.typePriority = typePriority;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeAlias() {
        return typeAlias;
    }

    public void setTypeAlias(String typeAlias) {
        this.typeAlias = typeAlias;
    }

    public Long getTypeParentId() {
        return typeParentId;
    }

    public void setTypeParentId(Long typeParentId) {
        this.typeParentId = typeParentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
